package com.example.demo.models;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_user
 */
@TableName(value ="t_user")
@Data
public class User implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField(value = "userName")
    private String userName;

    /**
     * 
     */
    @TableField(value = "realName")
    private String realName;

    /**
     * 
     */
    @TableField(value = "password")
    private String password;

    /**
     * 
     */
    @TableField(value = "age")
    private Integer age;

    /**
     * 性别-(0.女  1.男  2.未知)
     */
    @TableField(value = "gender")
    private Integer gender;

    /**
     * 
     */
    @TableField(value = "birthDate")
    private Date birthDate;

    /**
     * 
     */
    @TableField(value = "mobileNo")
    private String mobileNo;

    /**
     * 
     */
    @TableField(value = "address")
    private String address;

    /**
     * 
     */
    @TableField(value = "errorCount")
    private Integer errorCount;

    /**
     * 
     */
    @TableField(value = "descr")
    private String descr;

    /**
     * 
     */
    @Version
    @TableField(value = "version")
    private Integer version;

    /**
     * 
     */
    @TableField(value = "createTime")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}